// pages/standardList/standardList.js
var utils = require('../../utils/util.js');
var httpUrl = getApp().globalData.httpUrl;
Page({

    /**
     * 页面的初始数据
     */
    data: {

    },

    /**
     * 生命周期函数--监听页面加载
     */
    onShow: function (options) {
        var that=this;
        utils.http(httpUrl +"/mobile/member/my_teacher_article",{},function(res){
            console.log(res)
            that.setData({
                data:res.datas
            })
        })   
    },

    //进入新闻详情
    noNewmoreDetailTap: function (e) {
        var that = this;
        wx.navigateTo({
            url: '../newmore/newmoreDetail/newmoreDetail?id=' + e.currentTarget.dataset.id + "&type=" + 6,
        })
    },
})